{extend name="index/index" /}
{block name="main"}


	<!-- //header -->
	<!-- banner -->
	<div class="agile-banner">
	</div>
	<!-- //banner -->
	<!-- breadcrumbs -->
	<div class="breadcrumbs">
		<div class="container">
			<ol class="breadcrumb breadcrumb1 animated wow slideInLeft" data-wow-delay=".5s">
				<li><a href="index.html">主页</a></li>
				<li class="active">{$name['style']}</li>
			</ol>
		</div>
	</div>
<!-- //breadcrumbs -->
	<div class="container">
		<div class="banner-btm-agile">
		<!-- //btm-wthree-left -->
			<div class="col-md-9 btm-wthree-left">
				{volist name="list" id="v"}
				{empty name="v['src_id']"}
				<div class="col-md-12" style="border: 1px solid #FFAC3A;width: 100% ;padding: 20px;">
					<div class="col-md-12">

						<div class="col-md-1">


							<div class="comments-grid-left">
								<a href="{:url('/tourists')}?id={$v['uid']}"><img src="{$v['photo']}" style="width: 48px;height: 48px;"/></a>

							</div>
						</div>
						<div class="col-md-11" style="margin-bottom: 10px;">
							<br>
							<h5 style="margin-left:50px;font-size: 16px;color:#FFAC3A;"><a href="{:url('/tourists')}?id={$v['uid']}">{$v['username']}</a></h5>
							<p style="font-size: 12px;">{$v['time']}</p>
							<br>
							<p>{:replace_weibo($v['content'])}</p>
							<!--</div>-->

							<!--<br>-->
							<ul class="slides col-md-4" style="margin-top: 10px;">
								{foreach $list[$key]['path'] as $data}
								<li>
									<div class="w3agile_special_deals_grid_left_grid">
										<a href="{:url('index/show/index',['id'=>$v['id']])}"><img src="{$data['path']}" class="img-responsive" alt=""
																								   width="780" style="height: 200px!important"/></a>
									</div>
								</li>
								{/foreach}
							</ul>
						</div>

					</div>
					<div class="col-md-1"></div>
					<div class="col-md-11">
						<ul class="col-md-6">
							<li data-toggle="modal" data-target="#exampleModal" style="float: left; margin-left:10px;"><a><i
									class="fa fa-share turn-btn" aria-hidden="true" data-id="{$v['id']}"> &nbsp;
								{$v['transpondnum']}</i> </a></li>
							<li style="float: left; margin-left:10px;"><a><i class="fa fa-thumbs-up agree-btn"
																			 aria-hidden="true" data-id="{$v['id']}"> &nbsp;
								{$v['agreenum']}</i></a></li>
							<li data-toggle="modal" data-target="#exampleModal" style="float: left; margin-left:10px;"><a><i
									class="fa fa-comment com-btn" aria-hidden="true" data-id="{$v['id']}"> &nbsp;
								{$v['commentnum']}</i></a></li>
						</ul>
						<div class="clearfix"></div>
						<div class="col-md-6">
							<a class="agileits w3layouts" href="{:url('index/show/index',['id'=>$v['id']])}">查看评论 <span
									class="glyphicon agileits w3layouts glyphicon-arrow-right"
									aria-hidden="true"></span></a>
						</div>
					</div>
				</div>

				<div class="clearfix"></div>
				<br><br>
				{else /}
				<!--<div class="col-md-9 btm-wthree-left">-->
				<div class="col-md-12" style="border: 1px solid #FFAC3A;width: 100% ;padding: 20px;">
					<div class="col-md-12">
						<div class="col-md-4 w3agile-left">
							<div class="comments-grid-left">
								<a href="{:url('/tourists')}?id={$v['uid']}"><img src="{$v['photo']}" style="width: 48px;height: 48px;"/></a>
							</div>
							<h5 style="margin-left:110px;font-size: 16px;color:#FFAC3A;"><a href="{:url('/tourists')}?id={$v['uid']}">{$v['username']}</a></h5>

							<p style="font-size: 12px;margin-left: 60px;">{$v['time']}</p>
							<p style="margin-left: 100px">转发微博</p>
						</div>
						<div class="col-md-8 w3agile-right" style="margin: 0 auto;">
							<p>{:replace_weibo($v['content'])}</p>

						</div>
						<ul class="slides col-md-4" style="margin-top: 10px;">
							{foreach $list[$key]['path'] as $data}
							<li>
								<div class="w3agile_special_deals_grid_left_grid">
									<a href="{:url('index/show/index',['id'=>$v['id']])}"><img src="{$data['path']}" class="img-responsive" alt=""
																							   width="780" style="height: 200px!important"/></a>
								</div>
							</li>
							{/foreach}
						</ul>
					</div>
					<div class="col-md-12" style="background: #eee">

						<div class="col-md-1" >

							<div class="comments-grid-left">
								<a href="{:url('/tourists')}?id={$v['old']['uid']}"><img src="{$v['old']['photo']}" style="width: 48px;height: 48px;"/></a>
							</div>
						</div>
						<div class="col-md-11" >
							<br>
							<h5 style="margin-left:50px;font-size: 16px;"><a href="{:url('/tourists')}?id={$v['old']['uid']}">{$v['old']['username']}</a></h5>
							<p style="font-size: 12px;">{$v['time']}</p>
							<br>
							<p>{:replace_weibo($v['old']['content'])}</p>
							<!--</div>-->

							<!--<br>-->
							<ul class="slides col-md-4" style="margin-top: 10px;">

								<li>
									<div class="w3agile_special_deals_grid_left_grid">
										{empty name="v['old']['path']"}
										{else /}

										<a href="{:url('index/show/index',['id'=>$v['id']])}"><img src="{$v['old']['path']}" class="img-responsive"
																								   alt=""
																								   width="780" style="height: 200px!important"/></a>
										{/empty}
									</div>
								</li>

							</ul>
						</div>

					</div>
					<div class="col-md-12"  style="background: #eee">
						<div class="col-md-1">
						</div>
						<div class="col-md-11">
							<ul class="col-md-6">
								<li data-toggle="modal" data-target="#exampleModal" style="float: left; margin-left:10px;"><a><i
										class="fa fa-share turn-bt" aria-hidden="true" data-id="{$v['old']['id']}"> &nbsp;
									{$v['transpondnum']}</i> </a></li>
								<li style="float: left; margin-left:10px;"><a><i class="fa fa-thumbs-up agree-btn"
																				 aria-hidden="true" data-id="{$v['id']}"> &nbsp;
									{$v['agreenum']}</i></a></li>
								<li data-toggle="modal" data-target="#exampleModal" style="float: left; margin-left:10px;"><a><i
										class="fa fa-comment com-bt" aria-hidden="true" data-id="{$v['id']}"> &nbsp;
									{$v['commentnum']}</i></a></li>
							</ul>
							<div class="clearfix"></div>
							<div class="col-md-6">
								<a class="agileits w3layouts" href="{:url('index/show/index',['id'=>$v['old']['id']])}">查看评论 <span
										class="glyphicon agileits w3layouts glyphicon-arrow-right"
										aria-hidden="true"></span></a>
							</div>
						</div>
					</div>
				</div>
				<hr>
				<br>
				{/empty}
				{/volist}
				<br>
				<br>
			</div>

		</div>

		<div class="col-md-3 w3agile_blog_left">
			<div class="wthreesearch">
				<form action="{:url('/wbSearch')}" method="post">
					<input type="search" name="Search" placeholder="Search here" required="">
					<button type="submit" class="btn btn-default search" aria-label="Left Align">
						<i class="fa fa-search" aria-hidden="true"></i>
					</button>
				</form>

			</div>

			{/block}

